package com.prig.base.entity;

import javax.persistence.EmbeddedId;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;

@Entity
@Table(name="adminRoleRelation")
public class AdminRoleRelation implements Serializable {
    @EmbeddedId
    private AdminRoleRelationId id;

    public AdminRoleRelationId getId() {
        return id;
    }

    public void setId(AdminRoleRelationId id) {
        this.id = id;
    }

    public AdminRoleRelation() {
    }

    public AdminRoleRelation(AdminRoleRelationId id) {
        this.id = id;
    }
}
